package classes.fillstyle.gradient
{
	import flash.display.GradientType;
	import flash.display.InterpolationMethod;
	import flash.display.SpreadMethod;
	import flash.geom.Matrix;
	
	public class GreenButtonUp extends GradientFillStyle
	{
		public function GreenButtonUp(width:int, angle:int = 90)
		{
			var type:String = GradientType.LINEAR;
			var colors:Array = [0xA2C69C, 0x41BF4A, 0x0EB81D, 0x0D9B23];
			var alphas:Array = [1, 1, 1, 1];
			var ratios:Array = [0, 127, 128, 255];
			var matrix:Matrix = new Matrix();
				matrix.createBox(width, width, Math.PI * angle/180, 0, 0);
			var spreadMethod:String = SpreadMethod.PAD;
			var interpolationMethod:String = InterpolationMethod.RGB;
			var focalPointRatio:Number = 0;
			super(type, colors, alphas, ratios, matrix, spreadMethod, interpolationMethod, focalPointRatio);
		}
	}
}